package com.chaoyi.service.Impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.chaoyi.dao.mysql.UserMapper;
import com.chaoyi.model.User;
import com.chaoyi.service.LoginService;

@Service
public class LoginServiceImpl implements LoginService {

	@Resource
	private UserMapper userMapper;
	
	@Override
	public List<User> findUser(User user) {
		return userMapper.findUser(user);
	}
	
}
